package de.gruessing.gwtsports.shared.mappeddata.tcdata;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.IsSerializable;

public class WorkoutDTO implements IsSerializable
{
  protected String name;
  protected ArrayList<StepDTO> step;
  protected ArrayList<String> scheduledOn;
  protected String notes;
  protected SourceDTO creator;
  protected ExtensionsDTO extensions;
  protected SportDTO sport;
  
  public WorkoutDTO()
  {
  	
  }
  
  public String getName() {
      return name;
  }

  public void setName(String value) {
      this.name = value;
  }

  public ArrayList<StepDTO> getStep() {
      if (step == null) {
          step = new ArrayList<StepDTO>();
      }
      return this.step;
  }

  public void setStep(ArrayList<StepDTO> step)
	{
		this.step = step;
	}

	public void setScheduledOn(ArrayList<String> scheduledOn)
	{
		this.scheduledOn = scheduledOn;
	}

	public ArrayList<String> getScheduledOn() {
      if (scheduledOn == null) {
          scheduledOn = new ArrayList<String>();
      }
      return this.scheduledOn;
  }

  public String getNotes() {
      return notes;
  }

  public void setNotes(String value) {
      this.notes = value;
  }

  public SourceDTO getCreator() {
      return creator;
  }
  
  public void setCreator(SourceDTO value) {
      this.creator = value;
  }

  public ExtensionsDTO getExtensions() {
      return extensions;
  }

  public void setExtensions(ExtensionsDTO value) {
      this.extensions = value;
  }

  public SportDTO getSport() {
      return sport;
  }

  public void setSport(SportDTO value) {
      this.sport = value;
  }
}
